#pragma once

#include "json/json.h"

class ConsumerHouseModel
{
public:
	ConsumerHouseModel(void);
	~ConsumerHouseModel(void);

	int m_id;
	int m_consumerID;
	int m_houseType;
	CString m_houseAddr; 
	CString m_appraisement;
	int m_houseArea;
	int m_propertyRight;
	CString m_installmentBank;
	int m_loanTime;
	CString m_loanSum;
	CString m_monthPay;
	CString m_dueSum;
	int m_cutPaymentCard;
	CString m_memo;

	void parseFromJson(Json::Value& jsonData);
	void toJson(Json::Value& jsonData);

};

